<template>
    <div>
        贴吧页面
        <br>
        <router-link to="/tieba/7456">帖子1</router-link>
        <router-link to="/tieba/8892">帖子2</router-link>
        <router-link to="/tieba/7654">帖子3</router-link>
        <router-link :to="{name: 'tiezi', params: {id: 1234}}">帖子4</router-link>
        <br>
        <router-view></router-view>
    </div>

</template>

<script setup>

</script>

<style scoped>
div {
height: 200px;
text-align: center;
background-color: rgb(16, 152, 120);
}
a {
    margin: 10px;
    width: 30px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid #000;
    padding: 5px;
    color: white;
}
</style>